<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@ page import="com.db.conn" %>
<%@ page import="java.sql.*" %>
<%
    String path = request.getContextPath();
%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>花店销售系统</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link href="<%=path %>/admin/css/bootstrap.min.css" rel="stylesheet">
    <link href="<%=path %>/admin/css/materialdesignicons.min.css" rel="stylesheet">
    <link rel="stylesheet" href="<%=path %>/admin/css/multitabs.min.css">
    <link href="<%=path %>/admin/css/style.min.css" rel="stylesheet">
</head>

<body>

<%

    String lname = (String) session.getAttribute("adminLname");
    String role = (String) session.getAttribute("role");
    if (lname == null) { %>
<script type="text/javascript" language="javascript">
    alert("您还没有登录，请登录...");
    window.document.location.href = "<%=path %>/login.jsp";
</script>
<% return;
} %>


<div class="lyear-layout-web">
    <div class="lyear-layout-container">
        <!--左侧导航-->
        <aside class="lyear-layout-sidebar">
            <!-- logo -->
            <div id="logo" class="sidebar-header"><a href="<%=path %>/admin/index.jsp" style="
    height: 68px;
    line-height: 68px;
    color: white;
    font-size: 20px;
    background-color: #33cabb;
">花海漫步花店</a></div>
            <div class="lyear-layout-sidebar-scroll">
                <nav class="sidebar-main">
                    <ul class="nav nav-drawer">
                        <li class="nav-item active"><a class="multitabs" href="<%=path %>/admin/main.jsp"><i
                                class="mdi mdi-home"></i><span>后台首页</span></a></li>

                        <li class="nav-item nav-item-has-subnav"><a href="javascript:void(0)"><i
                                class="mdi mdi-menu"></i><span>店铺简介管理</span></a>
                            <ul class="nav nav-subnav">
                                <li><a class="multitabs" href="<%=path %>/admin/abouts/abouts_Edit.jsp?id=1">关于我们</a></li>
                                <li><a class="multitabs" href="<%=path %>/admin/abouts/abouts_Edit.jsp?id=2">联系我们</a></li>

                            </ul>
                        </li>


                        <li class="nav-item nav-item-has-subnav"><a href="javascript:void(0)"><i
                                class="mdi mdi-menu"></i><span>用户管理</span></a>
                            <ul class="nav nav-subnav">

                                <li><a class="multitabs" href="<%=path %>/admin/users/users_Manage.jsp">管理用户</a></li>

                            </ul>
                        </li>





                        <li class="nav-item nav-item-has-subnav"><a href="javascript:void(0)"><i
                                class="mdi mdi-menu"></i><span>商品管理</span></a>
                            <ul class="nav nav-subnav">
                                <li><a class="multitabs" href="<%=path %>/admin/ptype/ptype_Add.jsp">添加商品分类</a></li>
                                <li><a class="multitabs" href="<%=path %>/admin/ptype/ptype_Manage.jsp">管理商品分类</a></li>
                                <li><a class="multitabs" href="<%=path %>/admin/products/products_Add.jsp">添加商品</a></li>
                                <li><a class="multitabs" href="<%=path %>/admin/products/products_Manage.jsp">管理商品</a>
                                </li>

                            </ul>
                        </li>


                        <li class="nav-item nav-item-has-subnav"><a href="javascript:void(0)"><i
                                class="mdi mdi-menu"></i><span>定制商品管理</span></a>
                            <ul class="nav nav-subnav">
                                <li><a class="multitabs" href="<%=path %>/admin/dtype/dtype_Add.jsp">添加定制分类</a></li>
                                <li><a class="multitabs" href="<%=path %>/admin/dtype/dtype_Manage.jsp">管理定制分类</a></li>
                                <li><a class="multitabs" href="<%=path %>/admin/dproducts/dproducts_Add.jsp">添加定制商品</a>
                                </li>
                                <li><a class="multitabs"
                                       href="<%=path %>/admin/dproducts/dproducts_Manage.jsp">管理定制商品</a></li>

                            </ul>
                        </li>


                        <li class="nav-item nav-item-has-subnav"><a href="javascript:void(0)"><i
                                class="mdi mdi-menu"></i><span>订单管理</span></a>
                            <ul class="nav nav-subnav">

                                <li><a class="multitabs" href="<%=path %>/admin/orders/orders_Manage.jsp">待发货商品订单</a></li>
                                <li><a class="multitabs" href="<%=path %>/admin/orders/orders_Manage2.jsp">已发货商品订单</a></li>
                                <li><a class="multitabs" href="<%=path %>/admin/orders/orders_Manage3.jsp">待发货定制订单</a></li>
                                <li><a class="multitabs" href="<%=path %>/admin/orders/orders_Manage4.jsp">已发货定制订单</a></li>
                                <li><a class="multitabs"
                                       href="<%=path %>/admin/reimburse/reimburse_Manage.jsp">待处理退款申请</a></li>
                                <li><a class="multitabs"
                                       href="<%=path %>/admin/reimburse/reimburse_Manage2.jsp">已处理退款申请</a></li>
                            </ul>
                        </li>


                        <li class="nav-item nav-item-has-subnav"><a href="javascript:void(0)"><i
                                class="mdi mdi-menu"></i><span>评价管理</span></a>
                            <ul class="nav nav-subnav">

                                <li><a class="multitabs"
                                       href="<%=path %>/admin/ordermore/ordermore_Manage.jsp">管理评价</a></li>

                            </ul>
                        </li>


                        <li class="nav-item nav-item-has-subnav"><a href="javascript:void(0)"><i
                                class="mdi mdi-menu"></i><span>留言管理</span></a>
                            <ul class="nav nav-subnav">
                                <li><a class="multitabs" href="<%=path %>/admin/board/board_Manage.jsp">待回复留言</a></li>
                                <li><a class="multitabs" href="<%=path %>/admin/board/board_Manage2.jsp">已回复留言</a></li>

                            </ul>
                        </li>






                        <li class="nav-item nav-item-has-subnav"><a href="javascript:void(0)"><i
                                class="mdi mdi-menu"></i><span>系统管理</span></a>
                            <ul class="nav nav-subnav">
                                <li><a class="multitabs" href="<%=path %>/admin/admin/pass.jsp">修改密码</a></li>

                            </ul>
                        </li>


                    </ul>
                </nav>

            </div>
        </aside>
        <!--End 左侧导航-->
        <!--头部信息-->
        <header class="lyear-layout-header" style="
    background-color: #33cabb;
">
            <nav class="navbar navbar-default">
                <div class="topbar">
                    <div class="topbar-left">
                        <div class="lyear-aside-toggler"><span class="lyear-toggler-bar"></span><span
                                class="lyear-toggler-bar"></span><span class="lyear-toggler-bar"></span></div>
                    </div>
                    <ul class="topbar-right">
                        <li class="dropdown dropdown-profile"><a href="javascript:void(0)" data-toggle="dropdown"><img
                                class="img-avatar img-avatar-48 m-r-10" src="<%=path %>/admin/img/avatar.jpeg">
                            <span style="color:white"> <%= lname%>(<%= role%>) <span class="caret"></span></span></a>
                            <ul class="dropdown-menu dropdown-menu-right">
                                <%--     <li><a class="multitabs"  target="_blank" href="<%=path %>/qiantai/default.jsp"><i class="mdi mdi-home"></i>网站首页</a></li>--%>
                                <li><a class="multitabs" data-url="<%=path %>/admin/admin/pass.jsp"
                                       href="javascript:void(0)"><i class="mdi mdi-lock-outline"></i>修改密码</a></li>

                                <li class="divider"></li>
                                <li>


                                    <a href="<%=path %>/login.jsp" onclick='return confirm("您确定要退出登录吗？");'
                                       class="waves-effect">
                                        <i class="mdi mdi-logout-variant"></i> 退出登录</a>


                                </li>

                            </ul>
                        </li>

                    </ul>
                </div>
            </nav>
        </header>
        <!--End 头部信息-->
        <!--页面主要内容-->
        <main class="lyear-layout-content">
            <div id="iframe-content"></div>
        </main>
        <!--End 页面主要内容-->
    </div>
</div>
<script type="text/javascript" src="<%=path %>/admin/js/jquery.min.js"></script>
<script type="text/javascript" src="<%=path %>/admin/js/bootstrap.min.js"></script>
<script type="text/javascript" src="<%=path %>/admin/js/perfect-scrollbar.min.js"></script>
<script type="text/javascript" src="<%=path %>/admin/js/multitabs.js"></script>
<script type="text/javascript" src="<%=path %>/admin/js/index.min.js"></script>


</body>
</html>


